package com.azhe.demo.service.impl;

import com.azhe.demo.service.DemoService;
import com.azhe.myframework.annotation.MyService;

/**
 * Description:
 *
 * @author Linzr
 * @version V1.0.0
 * @date 2021/1/8 11:09 上午
 * @since V1.0.0
 */
@MyService
public class DemoServiceImpl implements DemoService {
    @Override
    public String print(String name) {
        return "the name is " + name;
    }

    @Override
    public Integer add(Integer a, Integer b) {
        return a + b;
    }

    @Override
    public Double sub(Double a, Double b) {
        return a - b;
    }

}
